package com.ilxqx.framework.system.repository;

import com.ilxqx.framework.system.entity.SysMenu;

import java.util.List;

/**
 * 系统菜单仓库接口类
 * @author venus
 */
public interface SysMenuRepository extends FrameworkRepository<SysMenu, Long> {

	/**
	 * 根据父级菜单主键获取子菜单
	 * @param parentMenuId 父级菜单主键
	 * @return 子菜单列表
	 */
	List<SysMenu> getAllByParentMenuIdOrderBySequenceAsc(Long parentMenuId);

}